const express = require("express");

const router = express.Router();

router.get("/user/name", (req, res) => {
  res.send("this is name page,method is get");
});

router.post("/user/age", (req, res) => {
  res.send("this is age page,method is post");
});

module.exports = router;
